package com.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 配置默认首页
 * Created by Administrator on 2016/11/23.
 */
@Controller
public class IndexController {
    @RequestMapping("/")
    public String index(){
        return "/WEB-INF/jsp/index.jsp";
    }
}
